package com.mydemo.springlearning.demo.request;

import lombok.Getter;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author hd
 * @date 2022/3/2 14:20
 */
@SpringBootTest
public  class GetRequest {
    String name;

    @Test
    public void func() {
        System.out.println("hello :" + name);
        Demo demo = new Demo();
        System.out.println(demo.getName1());
    }
}
@Getter
final class Demo{
    String name1;

}